Rename all dying domains to be prefixed with Zombie. This allows a new domain
authoremellor@ewan <emellor@ewan>
Thu, 6 Oct 2005 10:09:14 +0000 (11:09 +0100)
committeremellor@ewan <emellor@ewan>
Thu, 6 Oct 2005 10:09:14 +0000 (11:09 +0100)
commit0465a697d376041770cfa3a1d4f97b84eb5cb8ff
tree8ba29544910a06f1c4a7512bcf7f0488c8ef97d6
parent435cc5366c74734b7a4feae25c80d92c657942a1
Rename all dying domains to be prefixed with Zombie.  This allows a new domain
to be created with the same name, fixing the race condition inside XendDomain
that caused bug #278.

Move the state_set(TERMINATED) call onto the end of cleanupDomain rather than
destroyDomain, so that this flag is set when XendDomain cleans up a domain
that was killed without going through Xend.

Remove is_terminated, as this check is no longer necessary, since we are using
Zombie prefixes instead.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/python/xen/xend/XendDomainInfo.py